package org.simple.learning.sb.log4j.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 项目名称：java-web-leaning
 * 类名称：IndexController
 * 类描述：IndexController 默认控制器
 * 创建时间：2018/5/31
 *
 * @author guihuo   (E-mail:1620657419@qq.com)
 * @version v1.0
 */
@Controller
@RequestMapping(value = "/")
public class IndexController {

    @GetMapping()
    public String dashboard(Model model) {
        return "hello";
    }


}
